package com.spic.business.ioc.service;

import com.spic.business.ioc.domain.IocGoodDays;

import java.util.List;
import java.util.Map;

/**
 * 优良天数IOCService接口
 *
 * @author spic
 * @date 2022-04-14
 */
public interface IIocGoodDaysService
{
    /**
     * 查询优良天数IOC
     *
     * @param id 优良天数IOC主键
     * @return 优良天数IOC
     */
    public IocGoodDays selectIocGoodDaysById(String id);

    /**
     * 查询优良天数IOC列表
     *
     * @param iocGoodDays 优良天数IOC
     * @return 优良天数IOC集合
     */
    public List<IocGoodDays> selectIocGoodDaysList(IocGoodDays iocGoodDays);

    /**
     * 新增优良天数IOC
     *
     * @param iocGoodDays 优良天数IOC
     * @return 结果
     */
    public int insertIocGoodDays(IocGoodDays iocGoodDays);

    /**
     * 修改优良天数IOC
     *
     * @param iocGoodDays 优良天数IOC
     * @return 结果
     */
    public int updateIocGoodDays(IocGoodDays iocGoodDays);

    /**
     * 批量删除优良天数IOC
     *
     * @param ids 需要删除的优良天数IOC主键集合
     * @return 结果
     */
    public int deleteIocGoodDaysByIds(String[] ids);

    /**
     * 删除优良天数IOC信息
     *
     * @param id 优良天数IOC主键
     * @return 结果
     */
    public int deleteIocGoodDaysById(String id);
    /**
     * @return 优良天数数据
     */
    List<Map<String, Object>> getGoodDays();
    /**
     * @return 获取最近6年集合列表
     */
    List<Map<String,Object>> getYear();
}
